//
// Generated by Microsoft (R) HLSL Shader Compiler 9.29.952.3111
//
// Parameters:
//
//   float4 MinZ_MaxZRatio;
//   sampler2D PixelTexture2D_0;
//   sampler2D PixelTexture2D_1;
//   sampler2D PixelTexture2D_2;
//   sampler2D PixelTexture2D_3;
//   sampler2D PixelTexture2D_4;
//   sampler2D SceneColorTexture;
//   float4 ScreenPositionScaleBias;
//   float4 UniformPixelVector_0;
//   float4 UniformPixelVector_1;
//   float4 UniformPixelVector_2;
//   float4 UniformPixelVector_3;
//   float4 UniformPixelVector_4;
//   float4 UniformPixelVector_5;
//   float4 UniformPixelVector_6;
//
//
// Registers:
//
//   Name                    Reg   Size
//   ----------------------- ----- ----
//   UniformPixelVector_0    c0       1
//   ScreenPositionScaleBias c1       1
//   MinZ_MaxZRatio          c2       1
//   UniformPixelVector_1    c8       1
//   UniformPixelVector_2    c9       1
//   UniformPixelVector_3    c10      1
//   UniformPixelVector_4    c11      1
//   UniformPixelVector_5    c12      1
//   UniformPixelVector_6    c13      1
//   SceneColorTexture       s0       1
//   PixelTexture2D_0        s1       1
//   PixelTexture2D_1        s2       1
//   PixelTexture2D_2        s3       1
//   PixelTexture2D_3        s4       1
//   PixelTexture2D_4        s5       1
//

    ps_3_0
    def c3, 0.5, 0, 1, 0.03125
    dcl_texcoord4 v0
    dcl_texcoord5 v1.xyw
    dcl_texcoord v2.xy
    dcl_texcoord1 v3
    dcl_2d s0
    dcl_2d s1
    dcl_2d s2
    dcl_2d s3
    dcl_2d s4
    dcl_2d s5
    add r0.xy, c11, v2
    texld r0, r0, s2
    add r0.yz, c12.xxyw, v2.xxyw
    texld r1, r0.yzzw, s3
    add r0.x, r0.x, r1.x
    add r0.yz, c13.xxyw, v2.xxyw
    texld r1, r0.yzzw, s3
    add r0.x, r0.x, r1.x
    add r0.xy, r0.x, v2
    texld r0, r0, s4
    mul r0.x, r0.x, v3.w
    texld r1, v2, s5
    mul r0.x, r0.x, r1.x
    rcp r0.y, v1.w
    mul r0.yz, r0.y, v1.xxyw
    mad r1.xy, r0.yzzw, c1, c1.wzzw
    mov r1.zw, c3.y
    texldl r1, r1, s0
    mov r0.z, c3.z
    add r0.y, r0.z, -c2.y
    add r0.y, -r0.y, r1_abs.w
    rcp r0.y, r0.y
    mad r0.y, -c2.x, r0.y, -v1.w
    mul_sat r0.y, r0.y, c3.w
    mul_pp oC0.w, r0.y, r0.x
    add r0.xy, c9, v2
    texld r0, r0, s1
    add r1.xy, c10, v2
    texld r1, r1, s1
    lrp r2.xyz, c3.x, r1, r0
    mul r0.xyz, c8, v3
    mad_pp r0.xyz, r0, r2, c0
    mad_pp oC0.xyz, r0, v0.w, v0

// approximately 34 instruction slots used (9 texture, 25 arithmetic)
 